 <?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

include_once (dirname(__FILE__).DS.'ja_vars_1.5.php');

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

<head>
<jdoc:include type="head" />
<?php JHTML::_('behavior.mootools'); ?>

<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja.vm.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" />

<script language="javascript" type="text/javascript">
	var siteurl = '<?php echo $tmpTools->baseurl();?>';
	var tmplurl = '<?php echo $tmpTools->templateurl();?>';
</script>

<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js"></script>

<script language="javascript" type="text/javascript" src="/administrator/components/com_virtuemart/common.js"></script>
<!-- js for dragdrop -->

<!-- Menu head -->
<?php if ($jamenu) $jamenu->genMenuHead(); ?>
<link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo strtolower ($tmpTools->getParam(JA_TOOL_COLOR)); ?>.css" rel="stylesheet" type="text/css" />

<!--[if lte IE 6]>
<style type="text/css">
img {border: none;}
</style>
<![endif]-->

<?php if ($tmpTools->isIE6()) { ?>
<!--[if lte IE 6]>
<link href="<?php echo $tmpTools->templateurl(); ?>/css/ie6.php" rel="stylesheet" type="text/css" />
<link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo strtolower ($tmpTools->getParam(JA_TOOL_COLOR)); ?>-ie6.php" rel="stylesheet" type="text/css" />
<script type="text/javascript">
window.addEvent ('load', makeTransBG);
function makeTransBG() {
makeTransBg($$('img'));
}
</script>
<![endif]-->
<?php } ?>
<!--[if gt IE 7]>
<link href="<?php echo $tmpTools->templateurl(); ?>/css/ie8.css" rel="stylesheet" type="text/css" />
<![endif]-->

</head>

<body id="bd" class="<?php echo $tmpTools->getParam(JA_TOOL_LAYOUT);?> <?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>" >
<a name="Top" id="Top"></a>

<div id="ja-wrapper">

<!-- BEGIN: HEADER -->
<div class="header clearfix">
        <div class="header-top-container">
            <div class="header-wrapper">
                <div class="header-top">
                    <div id="logo"><a href=""><img alt="IZILIFE LOGO" src="templates/izilife/images/logo1.png"
                    height="78" width="396"></a>
                    </div>
                    <jdoc:include type="modules" name="vm-cart" style="xhtml" />
                    <jdoc:include type="modules" name="user4" style="raw" />
                        
                    <div class="clear"></div>
                </div>
            </div>
        </div>
    </div>

<div id="ja-header" class="clearfix">
    <!-- BEGIN: MAIN NAVIGATION -->
    <?php if ($tmpTools->getParam('ja_menu') != 'none') : ?>
    
	<div class="header-nav-container">
        <div class="header-nav">
            <?php if ($jamenu) $jamenu->genMenu (0); ?>
        </div>
    </div>
        <?php endif; ?>
    <!-- END: MAIN NAVIGATION -->
 
</div>
<!-- END: HEADER -->

<?php if (!$tmpTools->isContentEdit() && $this->countModules('ja-slideshow')) { ?>
<!-- BEGIN: SLIDESHOW -->
<div id="ja-slideshow" class="clearfix">
  <div id="ja-slideshow-bot"><div id="ja-slideshow-top" class="clearfix">
    <jdoc:include type="modules" name="ja-slideshow" style="raw" />
  </div></div>
</div>
<!-- END: SLIDESHOW -->
<?php } ?>

<div id="ja-containerwrap<?php echo $divid; ?>">
<div id="ja-container"><div id="ja-container-inner" class="clearfix">

	<!-- BEGIN: CONTENT -->
	<div id="ja-mainbodywrap">
	
	<div id="ja-mainbody" class="clearfix">

		<div id="ja-contentwrapper">
	<?php if($tmpTools->isFrontPage()) : ?>	
    <?php if ( !$tmpTools->isContentEdit() && ($this->countModules('vm-fp') || $this->countModules('ja-slider')) ) { ?>
      <div id="ja-productwrap"><div id="ja-product-bot"><div id="ja-product-top" class="clearfix">
      
        <?php if ( $this->countModules('vm-fp') ) { ?>
        <div id="ja-fp">
          <jdoc:include type="modules" name="vm-fp" style="xhtml" />
        </div>
        <?php } ?>
        
        <?php if ( $this->countModules('ja-slider') ) { ?>
        <div id="ja-slider">
          <jdoc:include type="modules" name="ja-slider" style="xhtml" />
        </div>
        <?php } ?>
      
      </div></div></div>
    <?php } ?>
    <?php endif; ?>
    <jdoc:include type="message" />

    <!-- BEGIN: CONTENT -->
		<div id="ja-contentwrap">
    		<div id="ja-content">
    		    <?php if(!$tmpTools->isFrontPage()) : ?>
    			<div id="ja-current-content" class="clearfix">
                    <jdoc:include type="module" name="breadcrumbs" /></br>
            		<jdoc:include type="component" />
    			</div>
    			<?php endif; ?>
    		</div>
		</div>
		<!-- END: CONTENT -->
		
    </div>

	  <?php if ($ja_left) { ?>
	  <!-- BEGIN: LEFT COLUMN -->
		<div id="ja-col1">
		<div class="ja-innerpad">

			<?php if ($hasSubnav) : ?>
			<div id="ja-subnav" class="module_menu"><div><div><div>
				<h3>On this page</h3>
				<?php if ($jamenu) $jamenu->genMenu (1,1);	?>
			</div></div></div></div>
			<?php endif; ?>
		
			<jdoc:include type="modules" name="left" style="rounded" />

		</div>
		</div><br />
		<!-- END: LEFT COLUMN -->
		<?php } ?>

	</div></div>
	<!-- END: CONTENT -->
		
	<?php if ($ja_right) { ?>
	<!-- BEGIN: RIGHT COLUMN -->
	<div id="ja-col2">
	<div class="ja-innerpad">
		<jdoc:include type="modules" name="right" style="rounded" />
	</div></div><br />
	<!-- END: RIGHT COLUMN -->
	<?php } ?>

</div></div>
</div>

	
</div>
<!-- BEGIN: FOOTER -->
<div id="ja-footer" class="clearfix">
<div id="ja-footer-top" class="clearfix">
    <div id="footer" class="clearfix">
    	<jdoc:include type="modules" name="footer" />
	</div>
	
	<div id="company_info">
        <p>&copy; 2011 <a href="#">Shop Tâm Thảo</a>. Chuyên thời trang Thái Lan </p>
        <p>Hotline: <span style="font-weight:normal;">0903.471.166</span>   Email: <a href="mailto:shoptamthao@yahoo.com">shoptamthao@yahoo.com</a></p>
        <p>Cơ sở Hà Nội: 1. <span style="font-weight:normal;">Số 30 - Nguyễn Công Hoan</span>  ĐT: <span style="font-weight:normal;">04.3724.5763</span></p>
        <p style="padding-left: 110px;"> 2. <span style="font-weight:normal;">Số 208G - Đội Cấn</span>  ĐT: <span style="font-weight:normal;">04.3722.7951</span></p>
        <p style="padding-left: 110px;"> 3. <span style="font-weight:normal;">Số 438 - Xã Đàn</span>  ĐT: <span style="font-weight:normal;">04.3573.9412</span> </p> 
    </div>
</div>
</div>
<!-- END: FOOTER -->

<script type="text/javascript">
	addSpanToTitle();
	//jaAddFirstItemToTopmenu();
	//jaRemoveLastContentSeparator();
	//jaRemoveLastTrBg();
	//moveReadmore();
	//addIEHover();
	//slideshowOnWalk ();
	jaMenuIcon();
	fixMenuWidth();
</script>
</body>
</html>
